# $Id: Makefile,v 1.6 2003/10/24 15:41:26 simokawa Exp $

.PATH:	${SRCTOP}/sys/dev/dcons

KMOD	= dcons
SRCS	= dcons.c dcons.h dcons_os.c dcons_os.h \
		opt_dcons.h opt_kdb.h opt_ddb.h opt_gdb.h

.if !defined(KERNBUILDDIR)
opt_kdb.h:
	echo "#define KDB 1" > $@

opt_ddb.h:
	echo "#define DDB 1" > $@
.endif

CFLAGS+= -I${SRCTOP}/sys 

EXPORT_SYMS=	YES

.include <bsd.kmod.mk>
